package com.mes.cloud.api.dto.request.position;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.*;
import javax.validation.constraints.NotNull;

/**
 * 岗位上级岗位关联表
 * 
 * @author 郑样平
 * @version 2019-08-26 14:29:01
 * @email xiaomin.wu1@pactera.com
 */
@Data
public class SysPositionSuperiorPageRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "当前页不能为空！")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message =  "每页显示条数不能为空！")
    private int pageSize;

    @ApiModelProperty(value = "排序", required = false)
    private String orderBy;

    @ApiModelProperty(value = "岗位id", required = false)
    @NotEmpty(message = "岗位Id不能为空！")
    private String positionId;

}
